﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Othello
{
    // NOTE: If you change the class name "Service1" here, you must also update the reference to "Service1" in App.config.
    public class OthelloService : IOthelloGame
    {
        ServiceClient client;
        public void StartGameWithFirstMove(string myURI, int x, int y)
        {
            client = new ServiceClient(URI);
            client.type = gotomyconfigfile("OthelloService.Service1");
        }

        public void Move(int x, int y)
        {
            client.CallService("Move", x, y);
        }

        public void Pass()
        {
        }
    }
}
